Optimal. Leaf size=91 \[ -\frac {(1-x)^{3/4} \sqrt [4]{1+x}}{4 x}-\frac {(1-x)^{3/4} (1+x)^{5/4}}{2 x^2}-\frac {1}{4} \tan ^{-1}\left (\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )-\frac {1}{4} \tanh ^{-1}\left (\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {98, 96, 95, 218,
212, 209} \begin {gather*} -\frac {1}{4} \text {ArcTan}\left (\frac {\sqrt [4]{x+1}}{\sqrt [4]{1-x}}\right )-\frac {(1-x)^{3/4} (x+1)^{5/4}}{2 x^2}-\frac {(1-x)^{3/4} \sqrt [4]{x+1}}{4 x}-\frac {1}{4} \tanh ^{-1}\left (\frac {\sqrt [4]{x+1}}{\sqrt [4]{1-x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 95
Rule 96
Rule 98
Rule 209
Rule 212
Rule 218
Rubi steps
\begin {align*} \int \frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x} x^3} \, dx &=-\frac {(1-x)^{3/4} (1+x)^{5/4}}{2 x^2}+\frac {1}{4} \int \frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x} x^2} \, dx\\ &=-\frac {(1-x)^{3/4} \sqrt [4]{1+x}}{4 x}-\frac {(1-x)^{3/4} (1+x)^{5/4}}{2 x^2}+\frac {1}{8} \int \frac {1}{\sqrt [4]{1-x} x (1+x)^{3/4}} \, dx\\ &=-\frac {(1-x)^{3/4} \sqrt [4]{1+x}}{4 x}-\frac {(1-x)^{3/4} (1+x)^{5/4}}{2 x^2}+\frac {1}{2} \text {Subst}\left (\int \frac {1}{-1+x^4} \, dx,x,\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )\\ &=-\frac {(1-x)^{3/4} \sqrt [4]{1+x}}{4 x}-\frac {(1-x)^{3/4} (1+x)^{5/4}}{2 x^2}-\frac {1}{4} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )-\frac {1}{4} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )\\ &=-\frac {(1-x)^{3/4} \sqrt [4]{1+x}}{4 x}-\frac {(1-x)^{3/4} (1+x)^{5/4}}{2 x^2}-\frac {1}{4} \tan ^{-1}\left (\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )-\frac {1}{4} \tanh ^{-1}\left (\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.27, size = 71, normalized size = 0.78 \begin {gather*} \frac {1}{4} \left (-\frac {(1-x)^{3/4} \sqrt [4]{1+x} (2+3 x)}{x^2}-\tan ^{-1}\left (\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )-\tanh ^{-1}\left (\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.49, size = 388, normalized size = 4.26
method | result | size |
risch | \(\frac {\left (1+x \right )^{\frac {1}{4}} \left (-1+x \right ) \left (2+3 x \right ) \left (\left (1-x \right ) \left (1+x \right )^{3}\right )^{\frac {1}{4}}}{4 x^{2} \left (-\left (-1+x \right ) \left (1+x \right )^{3}\right )^{\frac {1}{4}} \left (1-x \right )^{\frac {1}{4}}}+\frac {\left (\frac {\ln \left (\frac {\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {3}{4}}-\sqrt {-x^{4}-2 x^{3}+2 x +1}\, x +\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}} x^{2}-\sqrt {-x^{4}-2 x^{3}+2 x +1}+2 \left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}} x -x^{2}+\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}}-2 x -1}{x \left (1+x \right )^{2}}\right )}{8}-\frac {\RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (\frac {-\RootOf \left (\textit {\_Z}^{2}+1\right ) \sqrt {-x^{4}-2 x^{3}+2 x +1}\, x +\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {3}{4}}-\RootOf \left (\textit {\_Z}^{2}+1\right ) \sqrt {-x^{4}-2 x^{3}+2 x +1}-\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}} x^{2}+\RootOf \left (\textit {\_Z}^{2}+1\right ) x^{2}-2 \left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}} x +2 \RootOf \left (\textit {\_Z}^{2}+1\right ) x -\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}}+\RootOf \left (\textit {\_Z}^{2}+1\right )}{x \left (1+x \right )^{2}}\right )}{8}\right ) \left (\left (1-x \right ) \left (1+x \right )^{3}\right )^{\frac {1}{4}}}{\left (1+x \right )^{\frac {3}{4}} \left (1-x \right )^{\frac {1}{4}}}\) | \(388\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.55, size = 106, normalized size = 1.16 \begin {gather*} \frac {2 \, x^{2} \arctan \left (\frac {{\left (x + 1\right )}^{\frac {1}{4}} {\left (-x + 1\right )}^{\frac {3}{4}}}{x - 1}\right ) + x^{2} \log \left (\frac {x + {\left (x + 1\right )}^{\frac {1}{4}} {\left (-x + 1\right )}^{\frac {3}{4}} - 1}{x - 1}\right ) - x^{2} \log \left (-\frac {x - {\left (x + 1\right )}^{\frac {1}{4}} {\left (-x + 1\right )}^{\frac {3}{4}} - 1}{x - 1}\right ) - 2 \, {\left (3 \, x + 2\right )} {\left (x + 1\right )}^{\frac {1}{4}} {\left (-x + 1\right )}^{\frac {3}{4}}}{8 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt [4]{x + 1}}{x^{3} \sqrt [4]{1 - x}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (x+1\right )}^{1/4}}{x^3\,{\left (1-x\right )}^{1/4}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________